package com.xlf.service.base.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


@Data
public class TestJudgeDTO implements Serializable {

    private Long pid;

    @NotBlank(message = "评测类型：public、contest、group")
    private String type;

    @NotBlank(message = "代码")
    private String code;

    @NotBlank(message = "编程语言")
    private String language;

    @NotBlank(message = "输入")
    private String testCaseInput;

    /**
     * 预期输出
     */
    private String expectedOutput;


    /**
     * text/x-csrc 用于鉴别语言
     */
    private String mode;
}
